package com.chinawayltd.ews.sample.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TVehicleCustomExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public TVehicleCustomExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCarVolumeIsNull() {
            addCriterion("car_volume is null");
            return (Criteria) this;
        }

        public Criteria andCarVolumeIsNotNull() {
            addCriterion("car_volume is not null");
            return (Criteria) this;
        }

        public Criteria andCarVolumeEqualTo(Byte value) {
            addCriterion("car_volume =", value, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeNotEqualTo(Byte value) {
            addCriterion("car_volume <>", value, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeGreaterThan(Byte value) {
            addCriterion("car_volume >", value, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeGreaterThanOrEqualTo(Byte value) {
            addCriterion("car_volume >=", value, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeLessThan(Byte value) {
            addCriterion("car_volume <", value, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeLessThanOrEqualTo(Byte value) {
            addCriterion("car_volume <=", value, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeIn(List<Byte> values) {
            addCriterion("car_volume in", values, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeNotIn(List<Byte> values) {
            addCriterion("car_volume not in", values, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeBetween(Byte value1, Byte value2) {
            addCriterion("car_volume between", value1, value2, "carVolume");
            return (Criteria) this;
        }

        public Criteria andCarVolumeNotBetween(Byte value1, Byte value2) {
            addCriterion("car_volume not between", value1, value2, "carVolume");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeIsNull() {
            addCriterion("begin_working_time is null");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeIsNotNull() {
            addCriterion("begin_working_time is not null");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeEqualTo(String value) {
            addCriterion("begin_working_time =", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeNotEqualTo(String value) {
            addCriterion("begin_working_time <>", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeGreaterThan(String value) {
            addCriterion("begin_working_time >", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeGreaterThanOrEqualTo(String value) {
            addCriterion("begin_working_time >=", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeLessThan(String value) {
            addCriterion("begin_working_time <", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeLessThanOrEqualTo(String value) {
            addCriterion("begin_working_time <=", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeLike(String value) {
            addCriterion("begin_working_time like", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeNotLike(String value) {
            addCriterion("begin_working_time not like", value, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeIn(List<String> values) {
            addCriterion("begin_working_time in", values, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeNotIn(List<String> values) {
            addCriterion("begin_working_time not in", values, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeBetween(String value1, String value2) {
            addCriterion("begin_working_time between", value1, value2, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andBeginWorkingTimeNotBetween(String value1, String value2) {
            addCriterion("begin_working_time not between", value1, value2, "beginWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeIsNull() {
            addCriterion("end_working_time is null");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeIsNotNull() {
            addCriterion("end_working_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeEqualTo(String value) {
            addCriterion("end_working_time =", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeNotEqualTo(String value) {
            addCriterion("end_working_time <>", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeGreaterThan(String value) {
            addCriterion("end_working_time >", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeGreaterThanOrEqualTo(String value) {
            addCriterion("end_working_time >=", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeLessThan(String value) {
            addCriterion("end_working_time <", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeLessThanOrEqualTo(String value) {
            addCriterion("end_working_time <=", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeLike(String value) {
            addCriterion("end_working_time like", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeNotLike(String value) {
            addCriterion("end_working_time not like", value, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeIn(List<String> values) {
            addCriterion("end_working_time in", values, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeNotIn(List<String> values) {
            addCriterion("end_working_time not in", values, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeBetween(String value1, String value2) {
            addCriterion("end_working_time between", value1, value2, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andEndWorkingTimeNotBetween(String value1, String value2) {
            addCriterion("end_working_time not between", value1, value2, "endWorkingTime");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchIsNull() {
            addCriterion("workplace_branch is null");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchIsNotNull() {
            addCriterion("workplace_branch is not null");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchEqualTo(Long value) {
            addCriterion("workplace_branch =", value, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchNotEqualTo(Long value) {
            addCriterion("workplace_branch <>", value, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchGreaterThan(Long value) {
            addCriterion("workplace_branch >", value, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchGreaterThanOrEqualTo(Long value) {
            addCriterion("workplace_branch >=", value, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchLessThan(Long value) {
            addCriterion("workplace_branch <", value, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchLessThanOrEqualTo(Long value) {
            addCriterion("workplace_branch <=", value, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchIn(List<Long> values) {
            addCriterion("workplace_branch in", values, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchNotIn(List<Long> values) {
            addCriterion("workplace_branch not in", values, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchBetween(Long value1, Long value2) {
            addCriterion("workplace_branch between", value1, value2, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andWorkplaceBranchNotBetween(Long value1, Long value2) {
            addCriterion("workplace_branch not between", value1, value2, "workplaceBranch");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeIsNull() {
            addCriterion("day_shift_earliest_time is null");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeIsNotNull() {
            addCriterion("day_shift_earliest_time is not null");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeEqualTo(String value) {
            addCriterion("day_shift_earliest_time =", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeNotEqualTo(String value) {
            addCriterion("day_shift_earliest_time <>", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeGreaterThan(String value) {
            addCriterion("day_shift_earliest_time >", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeGreaterThanOrEqualTo(String value) {
            addCriterion("day_shift_earliest_time >=", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeLessThan(String value) {
            addCriterion("day_shift_earliest_time <", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeLessThanOrEqualTo(String value) {
            addCriterion("day_shift_earliest_time <=", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeLike(String value) {
            addCriterion("day_shift_earliest_time like", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeNotLike(String value) {
            addCriterion("day_shift_earliest_time not like", value, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeIn(List<String> values) {
            addCriterion("day_shift_earliest_time in", values, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeNotIn(List<String> values) {
            addCriterion("day_shift_earliest_time not in", values, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeBetween(String value1, String value2) {
            addCriterion("day_shift_earliest_time between", value1, value2, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftEarliestTimeNotBetween(String value1, String value2) {
            addCriterion("day_shift_earliest_time not between", value1, value2, "dayShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeIsNull() {
            addCriterion("day_shift_latest_time is null");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeIsNotNull() {
            addCriterion("day_shift_latest_time is not null");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeEqualTo(String value) {
            addCriterion("day_shift_latest_time =", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeNotEqualTo(String value) {
            addCriterion("day_shift_latest_time <>", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeGreaterThan(String value) {
            addCriterion("day_shift_latest_time >", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeGreaterThanOrEqualTo(String value) {
            addCriterion("day_shift_latest_time >=", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeLessThan(String value) {
            addCriterion("day_shift_latest_time <", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeLessThanOrEqualTo(String value) {
            addCriterion("day_shift_latest_time <=", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeLike(String value) {
            addCriterion("day_shift_latest_time like", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeNotLike(String value) {
            addCriterion("day_shift_latest_time not like", value, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeIn(List<String> values) {
            addCriterion("day_shift_latest_time in", values, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeNotIn(List<String> values) {
            addCriterion("day_shift_latest_time not in", values, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeBetween(String value1, String value2) {
            addCriterion("day_shift_latest_time between", value1, value2, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andDayShiftLatestTimeNotBetween(String value1, String value2) {
            addCriterion("day_shift_latest_time not between", value1, value2, "dayShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeIsNull() {
            addCriterion("night_shift_earliest_time is null");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeIsNotNull() {
            addCriterion("night_shift_earliest_time is not null");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeEqualTo(String value) {
            addCriterion("night_shift_earliest_time =", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeNotEqualTo(String value) {
            addCriterion("night_shift_earliest_time <>", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeGreaterThan(String value) {
            addCriterion("night_shift_earliest_time >", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeGreaterThanOrEqualTo(String value) {
            addCriterion("night_shift_earliest_time >=", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeLessThan(String value) {
            addCriterion("night_shift_earliest_time <", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeLessThanOrEqualTo(String value) {
            addCriterion("night_shift_earliest_time <=", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeLike(String value) {
            addCriterion("night_shift_earliest_time like", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeNotLike(String value) {
            addCriterion("night_shift_earliest_time not like", value, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeIn(List<String> values) {
            addCriterion("night_shift_earliest_time in", values, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeNotIn(List<String> values) {
            addCriterion("night_shift_earliest_time not in", values, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeBetween(String value1, String value2) {
            addCriterion("night_shift_earliest_time between", value1, value2, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftEarliestTimeNotBetween(String value1, String value2) {
            addCriterion("night_shift_earliest_time not between", value1, value2, "nightShiftEarliestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeIsNull() {
            addCriterion("night_shift_latest_time is null");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeIsNotNull() {
            addCriterion("night_shift_latest_time is not null");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeEqualTo(String value) {
            addCriterion("night_shift_latest_time =", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeNotEqualTo(String value) {
            addCriterion("night_shift_latest_time <>", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeGreaterThan(String value) {
            addCriterion("night_shift_latest_time >", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeGreaterThanOrEqualTo(String value) {
            addCriterion("night_shift_latest_time >=", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeLessThan(String value) {
            addCriterion("night_shift_latest_time <", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeLessThanOrEqualTo(String value) {
            addCriterion("night_shift_latest_time <=", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeLike(String value) {
            addCriterion("night_shift_latest_time like", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeNotLike(String value) {
            addCriterion("night_shift_latest_time not like", value, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeIn(List<String> values) {
            addCriterion("night_shift_latest_time in", values, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeNotIn(List<String> values) {
            addCriterion("night_shift_latest_time not in", values, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeBetween(String value1, String value2) {
            addCriterion("night_shift_latest_time between", value1, value2, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andNightShiftLatestTimeNotBetween(String value1, String value2) {
            addCriterion("night_shift_latest_time not between", value1, value2, "nightShiftLatestTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeIsNull() {
            addCriterion("carvld_time is null");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeIsNotNull() {
            addCriterion("carvld_time is not null");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeEqualTo(Date value) {
            addCriterion("carvld_time =", value, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeNotEqualTo(Date value) {
            addCriterion("carvld_time <>", value, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeGreaterThan(Date value) {
            addCriterion("carvld_time >", value, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("carvld_time >=", value, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeLessThan(Date value) {
            addCriterion("carvld_time <", value, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeLessThanOrEqualTo(Date value) {
            addCriterion("carvld_time <=", value, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeIn(List<Date> values) {
            addCriterion("carvld_time in", values, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeNotIn(List<Date> values) {
            addCriterion("carvld_time not in", values, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeBetween(Date value1, Date value2) {
            addCriterion("carvld_time between", value1, value2, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldTimeNotBetween(Date value1, Date value2) {
            addCriterion("carvld_time not between", value1, value2, "carvldTime");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchIsNull() {
            addCriterion("carvld_branch is null");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchIsNotNull() {
            addCriterion("carvld_branch is not null");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchEqualTo(Long value) {
            addCriterion("carvld_branch =", value, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchNotEqualTo(Long value) {
            addCriterion("carvld_branch <>", value, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchGreaterThan(Long value) {
            addCriterion("carvld_branch >", value, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchGreaterThanOrEqualTo(Long value) {
            addCriterion("carvld_branch >=", value, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchLessThan(Long value) {
            addCriterion("carvld_branch <", value, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchLessThanOrEqualTo(Long value) {
            addCriterion("carvld_branch <=", value, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchIn(List<Long> values) {
            addCriterion("carvld_branch in", values, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchNotIn(List<Long> values) {
            addCriterion("carvld_branch not in", values, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchBetween(Long value1, Long value2) {
            addCriterion("carvld_branch between", value1, value2, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCarvldBranchNotBetween(Long value1, Long value2) {
            addCriterion("carvld_branch not between", value1, value2, "carvldBranch");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUseStatusIsNull() {
            addCriterion("use_status is null");
            return (Criteria) this;
        }

        public Criteria andUseStatusIsNotNull() {
            addCriterion("use_status is not null");
            return (Criteria) this;
        }

        public Criteria andUseStatusEqualTo(Byte value) {
            addCriterion("use_status =", value, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusNotEqualTo(Byte value) {
            addCriterion("use_status <>", value, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusGreaterThan(Byte value) {
            addCriterion("use_status >", value, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusGreaterThanOrEqualTo(Byte value) {
            addCriterion("use_status >=", value, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusLessThan(Byte value) {
            addCriterion("use_status <", value, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusLessThanOrEqualTo(Byte value) {
            addCriterion("use_status <=", value, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusIn(List<Byte> values) {
            addCriterion("use_status in", values, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusNotIn(List<Byte> values) {
            addCriterion("use_status not in", values, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusBetween(Byte value1, Byte value2) {
            addCriterion("use_status between", value1, value2, "useStatus");
            return (Criteria) this;
        }

        public Criteria andUseStatusNotBetween(Byte value1, Byte value2) {
            addCriterion("use_status not between", value1, value2, "useStatus");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}